#!

###########################
# Spamfilter Settings 
###########################
config spamfilter profile
edit mydomain1-default.local
set comment "malware and phishing URL filtering mydomain1.ch"
set flow-based disable 
unset replacemsg-group 
set spam-log enable 
set spam-filtering enable 
set external disable
set options spambwl spamfsip spamfssubmit spamfschksum spamfsurl spamrbl spamfsphish
config imap
set log enable 
set action  tag 
set tag-type subject spaminfo 
set tag-msg "SPAM mydomain1-sg0e0"
end
config pop3
set log enable 
set action  tag 
set tag-type subject spaminfo 
set tag-msg "SPAM mydomain1-sg0e0"
end
config smtp
set log enable 
set action  discard 
set tag-type subject spaminfo 
set tag-msg "SPAM mydomain1-sg0e0"
set hdrip disable
set local-override disable 
end
config mapi
set log enable
set action discard
end
config msn-hotmail
set log enable
end
config yahoo-mail
set log enable
end
config gmail
set log enable
end
set spam-bword-threshold 10
# set spam-bword-table 0
# set spam-bwl-table 0
# set spam-mheader-table 0
# set spam-rbl-table 0
# set spam-iptrust-table 0
set spam-log-fortiguard-response enable
end
###########################
# Spamfilter Settings DNSBL
###########################
config spamfilter dnsbl
edit 1
set name spamhaus
set comment spamhaus.org
config entries
edit 1
set action spam
set server zen.spamhaus.org
set status enable
end
end
config spamfilter dnsbl
edit 2
set name spamcop
set comment spamcomp.net
config entries
edit 1
set action spam
set server bl.spamcop.net
set status enable
end
end
